import config from "config";
import { MilvusClient, DataType } from '@zilliz/milvus2-sdk-node'; 
import { outLogger } from 'ROOT/common/logger';
import { AppConfig } from "ROOT/interface/App";

// const milvusConfig = config.get<AppConfig["milvus"]>("milvus");

// // 初始化 Milvus 客户端  
// export const milvusClient = new MilvusClient({  
//     address: `${milvusConfig.host}:${milvusConfig.port}`, // Milvus 服务地址
// });

// milvusClient.createDatabase({ db_name: 'symbol_vectors' });